<%@page import="java.net.URLDecoder"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><!--引入标签库 -->

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>登陆</title>
    <link rel="shortcut icon" href="images/logo.png">
    <script src="js/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="css/basic1.css" type="text/css">
    <link rel="stylesheet" href="css/login.css" type="text/css">
	<script src="js/register.js"></script>
</head>
    
<body>
    <header>
        <div class="container">
            <nav>
                <ul class="searchul">
                <c:choose>
				    <c:when test="${volunteer.getVuname() ne null}">
				       <li><a href="login.jsp">${volunteer.getVuname()}</a></li>
				    </c:when>
				    <c:when test="${elder.getVuname() ne null}">
				       <li><a href="login.jsp">${elder.getVuname()}</a></li>
				    </c:when>
				    <c:otherwise>
				        <li><a href="login.jsp">登录</a></li>
				    </c:otherwise>
				</c:choose>
                    <li><a href="register.jsp">注册</a></li>
                </ul>
                
                <ul class="navul">
                    <li><a href="index.jsp"><span>首页</span></a></li>
                    <li><a href="health.jsp"><span id="current">健康管家</span></a></li>
                    <li><a href="heart.jsp"><span>心语阁</span></a></li>
                    <li><a href="show.jsp"><span>真善美小屋</span></a></li>
                    <li><a href="my.jsp"><span>个人中心</span></a></li>
                </ul>
            </nav>
        </div>
    </header>
    
    <div class="container">
        <div id="logo"><img src="images/logo.png"></div>
        <form onsubmit="return user_login()">
            <p>用户名</p>
            <input type="text" id="uname">
            <p>密码</p>
            <input type="password" id="upwd">
            <br>
           	<input type="submit" class="sub" value="登陆">
        </form>
    </div>
     
    <footer>
    <div class="container">
        <ul id="links">
            <li><a href="">中国青年志愿者网</a></li>
            <li><a href="">中国青年志愿者协会</a></li>
            <li><a href="">中国志愿服务联合会</a></li>
            <li><a href="">志愿北京</a></li>
            <li><a href="">腾讯公益</a></li>
            <li><a href="">搜狐公益</a></li>
            <li><a href="">网易公益</a></li>
        </ul>
        <br>
        <p>Copyright &copy;“幸福巢”社会互助养老公益网</p>
        <div id="contact">
            <h3>联系我们</h3>
            <p>游女士：Tel：18216018060 邮箱：1007420955@qq.com <br> 曾女士：Tel:15570904369 邮箱:594185294@qq.com <br>地址:湖南省衡阳市蒸湘区常胜西路28号南华大学护理学院
            </p>
        </div>
    </div>
</footer>
</body>
</html>